//
// Created by 11518 on 2024/11/26.
//

#ifndef MY_APPLICATION_TIMER_H
#define MY_APPLICATION_TIMER_H

#include <ctime>

class Timer {
public:
    Timer();
    //! 计时开始
    void restart();
    //! 时间过了多少s
    double elapsed()const ;

    double elapsedMin() const;

    double elapsedMax() const;

private :
    long m_StartTime;
};


#endif //MY_APPLICATION_TIMER_H
